home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 November / CPNL0711.ISO / admin / secure / Tor - Privoxy - Vidalia.exe / Privoxy / templates / no-such-domain < prev    next >
Text File  |  2006-11-04  |  5KB  |  161 lines

  1. ##########################################################
  2. #
  3. # No-Such-Domain Error Output template for Privoxy.
  4. #
  5. #
  6. # USING HTML TEMPLATES:
  7. # ---------------------
  8. #
  9. # Template files are written win plain HTML, with a few
  10. # additions:
  11. # - Lines that start with a '#' character like this one
  12. #   are ignored
  13. #
  14. # - Each item in the below list of exported symbols will
  15. #   be replaced by dynamically generated text, if they
  16. #   are enclosed in '@'-characters. E.g. The string @version@
  17. #   will be replaced by the version number of Privoxy.
  18. #
  19. # - One special application of this is to make whole blocks
  20. #   of the HTML template disappear if the condition <name>
  21. #   is not given. Simply enclose the block between the two
  22. #   strings @if-<name>start and if-<name>-end@. The strings
  23. #   should be placed in HTML comments (<!-- -->), so the
  24. #   html structure won't be messed when the magic happens.
  25. #   
  26. # USABLE SYMBOLS IN THIS TEMPLATE:
  27. # --------------------------------
  28. #
  29. #  my-ip-addr:
  30. #    The IP-address that the client used to reach this proxy
  31. #  my-hostname:
  32. #    The hostname associated with my-ip-addr
  33. #  admin-address:
  34. #    The email address of the proxy's administrator, as configured
  35. #    in the 'config' file
  36. #  default-cgi:
  37. #    The URL for the "main menu" builtin CGI of this proxy
  38. #  menu:
  39. #    List of <li> elements linking to the other available CGIs
  40. #  version:
  41. #    The version number of the proxy software
  42. #  code-status:
  43. #    The development status of the proxy software: "alpha", "beta",
  44. #    or "stable".
  45. #  homepage:
  46. #    The URL of the SourceForge ijbswa project, who maintains this
  47. #    software.
  48. #
  49. #  host:
  50. #    The host part of the request that lead to this problem
  51. #  hostport:
  52. #    The host and port part of the request that lead to this problem
  53. #  path:
  54. #    The path part of the request that lead to this problem
  55. #  proxy-info-url:
  56. #    The URL to local online Privoxy documentation, if define in the
  57. #    'config' file
  58. #
  59. # CONDITIONAL SYMBOLS FOR THIS TEMPLATE AND THEIR DEPANDANT SYMBOLS:
  60. # ------------------------------------------------------------------
  61. #
  62. #  unstable:
  63. #    this is an alpha or beta release of the proxy software
  64. #  have-adminaddr-info:
  65. #    An e-mail address for the local Privoxy adminstrator has
  66. #    been specified and is available through the "admin-address"
  67. #    symbol
  68. #  have-proxy-info:
  69. #    A URL for online documentation about this proxy has been
  70. #    specified and is available through the "proxy-info-url"
  71. #    symbol
  72. #  have-help-info:
  73. #    If either have-proxy-info is true or have-adminaddr-info is
  74. #    true, have-help-info is true.  Used to conditionally include
  75. #    a grey box for any and all help info.
  76. #
  77. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  78. <html>
  79.  
  80. <head>
  81.   <title>404 - No such Domain (Privoxy@@my-hostname@)</title>
  82.   <meta http-equiv="Content-Style-Type" content="text/css">
  83.   <meta http-equiv="Content-Script-Type" content="text/javascript">
  84.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  85.   <meta name="robots" content="noindex,nofollow">
  86.   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
  87. </head>
  88.  
  89. <body>
  90.  
  91.   <table cellpadding="20" cellspacing="10" border="0" width="100%">
  92.     <tr>
  93.       <td class="status">
  94.         404
  95.       </td>     
  96.       <td class="title" style="width: 100%">
  97.  
  98. #include mod-title
  99.  
  100.       </td>
  101.     </tr>
  102.  
  103. <!-- @if-unstable-start -->
  104. # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
  105.     <tr>
  106.       <td class="warning" colspan="2">
  107.  
  108. #include mod-unstable-warning
  109.  
  110.       </td>
  111.     </tr>
  112. <!-- if-unstable-end@ -->
  113.  
  114.     <tr>
  115.       <td class="warning" colspan="2">
  116.         <h2>No such domain</h2>
  117.           <p>Your request for <a href="@protocol@@hostport@@path@"><b>@protocol@@hostport@@path@</b></a>
  118.             could not be fulfilled, because the domain name <b>@host@</b> could not be resolved.
  119.           </p>
  120.           <p>This is often a temporary failure, so you might just
  121.             <a href="@protocol@@hostport@@path@">try again</a>.
  122.          </p>
  123.       </td>
  124.     </tr>
  125.  
  126.     <tr>
  127.       <td class="box" colspan="2">
  128.         <h2>More Privoxy:</h2>
  129.         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
  130.       </td>
  131.     </tr>
  132.  
  133.     <tr>
  134.       <td class="info" colspan="2">
  135.  
  136. #include mod-support-and-service
  137.  
  138.       </td>
  139.     </tr>
  140.  
  141. <!-- @if-have-help-info-start -->
  142.     <tr>
  143.       <td class="info" colspan="2">
  144.  
  145. #include mod-local-help
  146.  
  147.       </td>
  148.     </tr>
  149. <!-- if-have-help-info-end@ -->
  150.     
  151.     <tr>
  152.       <td colspan="2">
  153.         <p class="small">Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></p>
  154.       </td>
  155.     </tr>
  156.   </table>
  157.  
  158. </body>
  159. </html>
  160.